Optimal. Leaf size=74 \[ \frac {2 a \sqrt {a x^2+b x^3}}{x}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}-2 a^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {2046, 2033,
212} \begin {gather*} -2 a^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )+\frac {2 a \sqrt {a x^2+b x^3}}{x}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2033
Rule 2046
Rubi steps
\begin {align*} \int \frac {\left (a x^2+b x^3\right )^{3/2}}{x^4} \, dx &=\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}+a \int \frac {\sqrt {a x^2+b x^3}}{x^2} \, dx\\ &=\frac {2 a \sqrt {a x^2+b x^3}}{x}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}+a^2 \int \frac {1}{\sqrt {a x^2+b x^3}} \, dx\\ &=\frac {2 a \sqrt {a x^2+b x^3}}{x}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}-\left (2 a^2\right ) \text {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+b x^3}}\right )\\ &=\frac {2 a \sqrt {a x^2+b x^3}}{x}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}-2 a^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 68, normalized size = 0.92 \begin {gather*} \frac {2 x \sqrt {a+b x} \left (\sqrt {a+b x} (4 a+b x)-3 a^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )\right )}{3 \sqrt {x^2 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.37, size = 61, normalized size = 0.82
method | result | size |
default | \(\frac {2 \left (b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}} \left (-3 a^{\frac {3}{2}} \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )+\left (b x +a \right )^{\frac {3}{2}}+3 a \sqrt {b x +a}\right )}{3 x^{3} \left (b x +a \right )^{\frac {3}{2}}}\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.75, size = 130, normalized size = 1.76 \begin {gather*} \left [\frac {3 \, a^{\frac {3}{2}} x \log \left (\frac {b x^{2} + 2 \, a x - 2 \, \sqrt {b x^{3} + a x^{2}} \sqrt {a}}{x^{2}}\right ) + 2 \, \sqrt {b x^{3} + a x^{2}} {\left (b x + 4 \, a\right )}}{3 \, x}, \frac {2 \, {\left (3 \, \sqrt {-a} a x \arctan \left (\frac {\sqrt {b x^{3} + a x^{2}} \sqrt {-a}}{a x}\right ) + \sqrt {b x^{3} + a x^{2}} {\left (b x + 4 \, a\right )}\right )}}{3 \, x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{2} \left (a + b x\right )\right )^{\frac {3}{2}}}{x^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.28, size = 85, normalized size = 1.15 \begin {gather*} \frac {2 \, a^{2} \arctan \left (\frac {\sqrt {b x + a}}{\sqrt {-a}}\right ) \mathrm {sgn}\left (x\right )}{\sqrt {-a}} + \frac {2}{3} \, {\left (b x + a\right )}^{\frac {3}{2}} \mathrm {sgn}\left (x\right ) + 2 \, \sqrt {b x + a} a \mathrm {sgn}\left (x\right ) - \frac {2 \, {\left (3 \, a^{2} \arctan \left (\frac {\sqrt {a}}{\sqrt {-a}}\right ) + 4 \, \sqrt {-a} a^{\frac {3}{2}}\right )} \mathrm {sgn}\left (x\right )}{3 \, \sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (b\,x^3+a\,x^2\right )}^{3/2}}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________